//
//  BaseCollectionView.m
//  TasteEnjoy
//
//  Created by XuRui on 16/4/19.
//  Copyright © 2016年 XuRui. All rights reserved.
//

#import "BaseCollectionView.h"

@implementation BaseCollectionView


#pragma mark - ------------ 初始化 隐藏 滚动条 ---------------
- (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout
{

    self = [super initWithFrame:frame collectionViewLayout:layout];
    if (self) {
        
        //self.pagingEnabled = YES;
        self.showsVerticalScrollIndicator =  NO;
        self.showsHorizontalScrollIndicator = NO;
        self.dk_backgroundColorPicker = DKColorWithColors([UIColor whiteColor],[UIColor grayColor]);
    }
    return self;

}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
